/**
 * 常量定义
 */

// 本地存储键名
export const StorageKeys = {
  ACCESS_TOKEN: 'access_token',
  USER_INFO: 'user_info', 
  LOGIN_TYPE: 'login_type'
}

// 登录类型
export const LoginTypes = {
  PASSWORD: 'password',
  CODE: 'code',
  REGISTER: 'register'
}

// API响应码
export const ResponseCodes = {
  SUCCESS: 200,
  INVALID_PARAMS: 400,
  UNAUTHORIZED: 401,
  NOT_FOUND: 404,
  SERVER_ERROR: 500
} 